package design_patterns.builderPetter;

/**
 * @author cz
 * 导向器类
 */
public class Director {

	 ComputerBuilder computerBuilder =null;
	
	public Director(ComputerBuilder computerBuilder){
		this.computerBuilder = computerBuilder;
	}
	public void construct(String board,String display){
		computerBuilder.builderBoard(board);
		computerBuilder.builderDisplay(display);
		computerBuilder.builderOs();
	}
}
